Skip to content

Add broker readiness notification channel skeleton#976

Open
wdcui wants to merge 8 commits into
uliteboxfrom
wdcui/ulitebox/broker-readiness-notifications
Open

Add broker readiness notification channel skeleton#976
wdcui wants to merge 8 commits into
uliteboxfrom
wdcui/ulitebox/broker-readiness-notifications

Conversation

@wdcui

@wdcui wdcui commented Jun 26, 2026

Copy link
Copy Markdown
Member

Adds a minimal broker-to-local notification channel skeleton for readiness updates while keeping the control channel strictly paired request/response. The PR defines event readiness notification DTOs, wire codec coverage, channel traits, and Unix-socket notification send/receive support without changing shim behavior or enabling blocking eventfd yet.

wdcui and others added 8 commits June 29, 2026 19:32
Define broker-to-local notification messages and channel traits, including event readiness snapshots, and add Unix-socket framing support for notification traffic.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Extend the userland broker integration test with a real Unix-socket notification path between the broker-side test helper and fake runner.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Replace the standalone notification sender with a broker-stack smoke test that sends readiness for the actual event handle observed through serve_connection.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Set a read timeout on the notification socket so the broker-stack smoke test fails instead of hanging if readiness notification delivery regresses.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add a production broker-host entry point that serves control requests with a paired notification channel and emits readiness notifications for state-changing event requests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Remove the private NegotiatedConnection enum and use a small handshake helper that returns an early termination only when negotiation does not reach the active request loop.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use consistent control-channel naming, document that notification transport stays outside BrokerSession, and inline readiness notification construction in the request loop.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep this PR focused on protocol and transport skeleton pieces; defer broker-host notification serving and end-to-end runtime tests until the production semantics are defined.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@wdcui wdcui force-pushed the wdcui/ulitebox/broker-readiness-notifications branch from 0a008f0 to b420313 Compare June 30, 2026 02:33
@wdcui wdcui enabled auto-merge June 30, 2026 02:33
@github-actions

Copy link
Copy Markdown

🤖 SemverChecks 🤖 No breaking API changes detected

Note: this does not mean API is unchanged, or even that there are no breaking changes; simply, none of the detections triggered.

@wdcui wdcui added this pull request to the merge queue Jun 30, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant